"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.xiaoma.launcher:id/{}"]'

"""
应用列表页
"""
list_appname_text = '//*[@text="{}"]'

"""
服务搜索页
"""
service_search_list_title_text = '//*[@resource-id="com.xiaoma.launcher:id/rv_poi"]/android.widget.RelativeLayout[{}]/android.widget.TextView'

"""
用户页
"""
# 用户头像
user_list_user_icon_img = '//*[@resource-id="com.xiaoma.launcher:id/rv_account"]/android.view.ViewGroup[{}]/android.widget.ImageView'

"""
密码页
"""
# 数字按钮
password_list_number_btn = '//*[@resource-id="com.xiaoma.launcher:id/number_{}"]'

# 账户头像
account_picture_pic = '//*[@resource-id="com.xiaoma.launcher:id/rv_account"]/android.view.ViewGroup[{}]/*[@resource-id="com.xiaoma.launcher:id/iv_pic"]'

# 账户性别
account_gender_icon ='//*[@resource-id="com.xiaoma.launcher:id/rv_account"]/android.view.ViewGroup[{}]/*[@resource-id="com.xiaoma.launcher:id/gender"]'

# 账户名称
account_name_text ='//*[@resource-id="com.xiaoma.launcher:id/rv_account"]/android.view.ViewGroup[{}]/*[@resource-id="com.xiaoma.launcher:id/user_name"]'

# 账户选中框
account_select = '//android.view.ViewGroup/*[@resource-id="com.xiaoma.launcher:id/rv_account"]/android.view.ViewGroup[{}]'

# 数字键
number_btn = '//*[@resource-id="com.xiaoma.launcher:id/number_key_board"]/android.view.ViewGroup[{}]/android.widget.Button'